package com.net.xpay.common.domain.notification;

import com.net.common.domain.CommonDomain;
import com.net.xpay.common.enums.notification.NotificationModule;
import com.net.xpay.common.enums.notification.NotificationStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 系统通知 (不同于message消息)
 */
@Getter
@Setter
@NoArgsConstructor
public class Notification extends CommonDomain {
    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("摘要")
    private String summary;

    @ApiModelProperty("正文")
    private String content;

    @ApiModelProperty("状态")
    private NotificationStatus status;

    @ApiModelProperty("模块")
    private NotificationModule module;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    private LocalDateTime endTime;
}
